Codexonics\PrimeMoverFramework\classes\PrimeMoverSystemFunctions D

Total Complexity 582
Dependencies 11
Dependents 33
Total lines 3,322
Lines of code 1,965
Logical lines of code 1,269
Comment lines 937
Methods 126
Properties 1

Methods 126

Method Rating Maintainability Complexity Lines of code
primeMoverValidateFootprintData()
D
32 37 96
printFriendlyDiffMessages()
D
29 30 122
addToPrimeMoverZipPackage()
C
33 29 94
delete()
A
46 15 34
recurseCopy()
A
42 14 48
generateReplaceableForUploadInfoAdjustment()
A
41 11 65
unzipFileChunked()
A
45 11 40
cleanDbTablesForExporting()
A
47 11 35
themeDifference()
A
41 9 64
readfileChunked()
A
49 10 31
doScreenOptionSettings()
A
51 10 28
getBytes()
A
55 9 18
generateReplaceableForSiteSchemeAdjustment()
A
49 8 32
pluginsDifference()
A
50 8 29
getCreateExportUrl()
A
53 8 22
generateImportReplaceables()
A
47 7 36
parsedBHostForPDO()
S
52 7 27
realFileSize()
S
51 7 27
primeMoverGetBlogsDirPath()
S
53 7 23
hashEntity()
S
54 7 20
fileIsInsideGivenDirectory()
S
56 7 19
getLibZipversion()
S
58 7 14
isPrimeMoverPage()
S
60 7 13
maybeForceDeleteOptionCaches()
S
55 6 20
getSliceSize()
S
56 6 19
getActivatedPlugins()
S
56 6 19
getPluginFullPath()
S
57 6 18
readPrimeMoverDirectory()
S
56 6 17
getCorrectFolderNameFromZip()
S
56 6 16
isPrimeMoverDownloadZipURLFormat()
S
58 6 15
activatePrimeMoverPluginOnly()
S
54 5 23
enableMaintenanceDuringImport()
S
55 5 20
primeMoverGetBlogsDirUrl()
S
56 5 20
logCliReProcessingArray()
S
57 5 18
isZipByMime()
S
55 5 18
maybeLoadAssetsOnDashboard()
S
58 5 17
disableMaintenanceDuringImport()
S
57 5 17
isRefererBackupMenu()
S
60 5 14
isZipPackageHasEntityEncrypted()
S
59 5 14
primeMoverDoDelete()
S
60 5 14
removeTmpImportFilesDir()
S
62 5 12
getDbPrefixOfSite()
S
59 4 16
maybeUseStoreMode()
S
65 5 9
getBackupMenuUrl()
S
63 5 10
isReallyZip()
S
59 4 15
maybeLoadMenuAssets()
S
66 5 9
createSiteExportDirectory()
S
62 4 13
addUploadinfoFootprintKey()
S
63 4 12
checkIfDirectoryIsEmpty()
S
62 4 12
getExportPathOfThisSubsite()
S
62 4 12
getThemeFullPath()
S
62 4 12
isReallyTar()
S
62 4 11
deleteSiteOption()
S
59 3 16
updateSiteOption()
S
58 3 16
logPeakMemoryUsage()
S
66 4 7
validateIfFootprintHasUploadInfo()
S
65 4 9
generalizeExportTypeBasedOnGiven()
S
64 4 10
doLogRecurseCopyRestart()
S
64 4 9
createFriendlyName()
S
59 3 13
addNewElement()
S
62 3 12
getPackageCreationDateTime()
S
62 3 12
isMaintenanceModeEnabled()
S
62 3 12
isFileResideInExportDir()
S
62 3 12
updateBlogOption()
S
62 3 12
fileExists()
S
64 3 11
hasTarExtension()
S
63 3 11
hasZipExtension()
S
63 3 11
getTablesforReplacement()
S
55 2 18
maybeResetOpCache()
S
68 3 8
isMultisiteMainSite()
S
67 3 8
temporarilyIncreaseMemoryLimits()
S
65 3 8
isReallyValidFormat()
S
67 3 9
isDir()
S
65 3 10
maybeTestSlowCopy()
S
66 3 9
fileGetContents()
S
71 3 6
isConfigFileWritable()
S
65 3 10
addUpdatedPluginHeadersToCache()
S
64 3 9
switchToBlog()
S
70 3 7
removePrefix()
S
65 3 9
addSchemeFootprintKey()
S
66 3 9
validateIfFootprintHasScheme()
S
66 3 9
nonCachedFileExists()
S
66 3 9
maybeLoadAssets()
S
64 3 10
filePutContentsAppend()
S
70 3 6
systemHooks()
S
58 2 14
getSiteOption()
S
63 2 11
getDetailedDifferencesBetweenFootprints()
S
62 2 11
isUsingChildTheme()
S
63 2 11
isValidJson()
S
65 2 9
isHeadRequest()
S
70 2 6
isShaString()
S
65 2 8
unLink()
S
72 2 6
getUserMetaTableName()
S
65 2 9
initializeSiteExportDirectory()
S
70 2 7
getBlogOption()
S
66 2 9
isWpFileSystemUsable()
S
71 2 6
compliedMinimumRequirement()
S
68 2 7
sha256File()
S
71 2 6
isValidVersionNumber()
S
69 2 7
primeMoverCheckIfZipEnabled()
S
69 2 7
restoreCurrentBlog()
S
71 2 7
getFilesToRestore()
S
66 2 8
addPluginManager()
S
71 2 6
flush()
S
73 2 6
fileSize64()
S
71 2 6
getPostMaxSizeInPhpini()
S
71 1 6
activatePlugin()
S
68 1 7
getSystemInitialization()
S
82 1 3
getSystemAuthorization()
S
81 1 3
humanFileSize()
S
69 1 5
getMultisiteMainSiteTableQuery()
S
78 1 3
getPostMaxSizeCorePhpValue()
S
76 1 4
maybeUploadParametersMisconfigured()
S
73 1 5
getMd5File()
S
80 1 3
getUploadMaxFilesizeCorePhpValue()
S
76 1 4
getSiteTitleGivenBlogId()
S
71 1 6
getZipArchiveInstance()
S
80 1 3
getUploadmaxFilesizeInPhpini()
S
71 1 6
hashString()
S
79 1 3
getFileSize()
S
80 1 3
removePluginManager()
S
76 1 4
wpDie()
S
66 1 9
doMemoryLogs()
S
70 1 6
getPeakMemoryUsage()
S
80 1 3
getUpgradeUrl()
S
81 1 3
__construct()
S
81 1 3